package zzq.util;

public class Properties {
    private String host = "127.0.0.1";
    private int port = 21;
    private String userName = "root";
    private String password = "666888aaa";
    private String folder = "";
    private String serverEncoding = "GBK";
    private int detectCycle = 10;

    @Override
    public String toString() {
        return "host:" + host + "\n" +
                "port:" + port + "\n" +
                "userName:" + userName + "\n" +
                "password:" + password + "\n" +
                "detectCycle:" + detectCycle + "\n" +
                "serverEncoding:" + serverEncoding + "\n" +
                "folder:" + folder;
    }

    public int getDetectCycle() {
        return detectCycle;
    }

    public void setDetectCycle(int detectCycle) {
        this.detectCycle = detectCycle;
    }

    public String getServerEncoding() {
        return serverEncoding;
    }

    public void setServerEncoding(String serverEncoding) {
        this.serverEncoding = serverEncoding;
    }

    public String getHost() {
        return host;
    }

    public void setHost(String host) {
        this.host = host;
    }

    public int getPort() {
        return port;
    }

    public void setPort(int port) {
        this.port = port;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getFolder() {
        return folder;
    }

    public void setFolder(String folder) {
        this.folder = folder;
    }
}
